package com.ssm.entity;

public class Student {
    private int studentid;
    private String password;
    private String email;
    private String name;
    private String gender;
    private String major;
    private String department;
    private long phonenumber;
    private String position;

    public Student() {
    }

    public Student(int studentid, String password, String email, String name, String gender, String major, String department, long phonenumber, String position) {
        this.studentid = studentid;
        this.password = password;
        this.email = email;
        this.name = name;
        this.gender = gender;
        this.major = major;
        this.department = department;
        this.phonenumber = phonenumber;
        this.position = position;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentid=" + studentid +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", major='" + major + '\'' +
                ", department='" + department + '\'' +
                ", phonenumber=" + phonenumber +
                ", position='" + position + '\'' +
                '}';
    }

    public int getId() {
        return studentid;
    }

    public void setId(int studentid) {
        this.studentid = studentid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public long getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(long phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }
}
